How Cockroach Automates Scale And Guarantees An Always-On Resilient Database